package com.nai365.nart.search.service;

import com.nai365.nart.common.core.es.SkuEsModel;
import com.nai365.nart.common.core.es.SpuEsModel;

import java.io.IOException;
import java.util.List;

/**
 * @Description:
 * @Created: with IntelliJ IDEA.
 * @author: baogs
 * @createTime: 2021-03-06 16:53
 **/
public interface ProductSaveService {

    boolean productStatusUp(List<SpuEsModel> spuEsModels) throws IOException;


    boolean productSkuUp(List<SkuEsModel> spuEsModels) throws IOException;

    Long downProduct(Long spuId);

	Long downSku(Long skuId);
}
